package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpDifficultyScore extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpDifficultyScore() {}
	public PmpDifficultyScore(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotBlank(message="扣分标准名称不能为空")
	@javax.validation.constraints.NotNull(message="扣分标准名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="扣分标准名称长度不能大于255")
	  private java.lang.String name;
 

	@javax.validation.constraints.NotNull(message="扣分数不能为空")
	  private java.lang.Integer score;

	@javax.validation.constraints.NotNull(message="bug状态不能为空")
	  private java.lang.Byte status;
 
	  private java.util.Date updatetime;
	  private java.util.Date createtime;
 
	
	//<-------------------------------------------->
	public PmpDifficultyScore setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public PmpDifficultyScore setScore(java.lang.Integer score){
	 this.score=score;
	 return this;
	}
	public java.lang.Integer getScore(){
		return this.score;
	}
	
	public PmpDifficultyScore setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpDifficultyScore setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpDifficultyScore setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}

}
